<!DOCTYPE xsl:stylesheet [
  <!ENTITY nbsp "&#160;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/">
		<html>
			<head>
				<title>List of Triggers</title>
				<LINK HREF="RadGrid_Office2007.css" REL="stylesheet" TYPE="text/css" />
				<LINK HREF="RadTabStrip.css" REL="stylesheet" TYPE="text/css" />
				<LINK HREF="RadTabStrip_Office2007.css" REL="stylesheet" TYPE="text/css" />
				<script type="text/javascript" src="sorttable.js"></script>
			</head>
			<body class="RadGrid RadGrid_Office2007">
				<div id="RadTabStrip1" class="RadTabStrip RadTabStrip_Office2007 RadTabStripTop_Office2007 ">
					<div class="rtsLevel rtsLevel1">
						<ul class="rtsUL">
							<li class="rtsLI rtsFirst rtsLast">
								<a class="rtsLink rtsSelected" href="#">
									<span class="rtsOut">
										<span class="rtsIn">
											<span class="rtsTxt">
												<font style="font-weight:bold" size="2.5px">List Of Trigger(s)</font>
											</span>
										</span>
									</span>
								</a>
							</li>
						</ul>
					</div>
				</div>
				<div
					style="padding:10px;border-right:solid 1px #8db2e3;border-bottom:solid 1px #8db2e3;border-left:solid 1px #8db2e3;">
					<div class="RadGrid RadGrid_Office2007" style="width:100%;">
						<table cellspacing="0" cellpadding="0" style="width:100%">
							<tr>
								<td>
									<table class="MasterTable_Office2007" cellspacing="0"
												style="width:100%;border-collapse:collapse;table-layout:auto;empty-cells:show;" id="ListOfTriggers">
										<thead>
											<tr class="GridRow_Office2007">
												<th class="GridHeader_Office2007" width="05%">&nbsp;</th>
												<th class="GridHeader_Office2007" width="08%">Name</th>
												<th class="GridHeader_Office2007" width="40%">Description</th>
												<th class="GridHeader_Office2007" width="05%">Table Name</th>
												<th class="GridHeader_Office2007" width="05%">Enabled</th>
												<th class="GridHeader_Office2007" width="05%">InsteadOf</th>
												<th class="GridHeader_Office2007" width="05%">Insert</th>
												<th class="GridHeader_Office2007" width="05%">Update</th>
												<th class="GridHeader_Office2007" width="05%">Delete</th>
												<th class="GridHeader_Office2007" width="06%">Created</th>
												<th class="GridHeader_Office2007" width="06%">Modified</th>
											</tr>
										</thead>
										<tbody>
											<xsl:for-each select="//TriggerList/Triggers">
												<tr class="GridRow_Office2007">
													<td>
														<img class="vmiddle" border="0" src="../images/table.gif" />
													</td>
													<td>
														<a>
															<xsl:attribute name="href">
																<xsl:value-of select="Name" disable-output-escaping="yes" />.htm
															</xsl:attribute>
															<xsl:value-of select="Name" />
														</a>
													</td>
													<td>
														<xsl:choose>
															<xsl:when test="string-length(Description) > 0">
																<xsl:value-of select="Description" />
															</xsl:when>
															<xsl:otherwise>
																&nbsp;
															</xsl:otherwise>
														</xsl:choose>
													</td>
													<td>
														<xsl:choose>
															<xsl:when test="string-length(TableName) > 0">
																<xsl:value-of select="TableName" />
															</xsl:when>
															<xsl:otherwise>
																&nbsp;
															</xsl:otherwise>
														</xsl:choose>
													</td>
													<td>
														<xsl:choose>
															<xsl:when test="string-length(IsEnabled) > 0">
																<xsl:value-of select="IsEnabled" />
															</xsl:when>
															<xsl:otherwise>
																&nbsp;
															</xsl:otherwise>
														</xsl:choose>
													</td>
													<td>
														<xsl:choose>
															<xsl:when test="string-length(InsteadOf) > 0">
																<xsl:value-of select="InsteadOf" />
															</xsl:when>
															<xsl:otherwise>
																&nbsp;
															</xsl:otherwise>
														</xsl:choose>
													</td>
													<td>
														<xsl:choose>
															<xsl:when test="string-length(Insert) > 0">
																<xsl:value-of select="Insert" />
															</xsl:when>
															<xsl:otherwise>
																&nbsp;
															</xsl:otherwise>
														</xsl:choose>
													</td>
													<td>
														<xsl:choose>
															<xsl:when test="string-length(Update) > 0">
																<xsl:value-of select="Update" />
															</xsl:when>
															<xsl:otherwise>
																&nbsp;
															</xsl:otherwise>
														</xsl:choose>
													</td>
													<td>
														<xsl:choose>
															<xsl:when test="string-length(Delete) > 0">
																<xsl:value-of select="Delete" />
															</xsl:when>
															<xsl:otherwise>
																&nbsp;
															</xsl:otherwise>
														</xsl:choose>
													</td>
													<td>
														<xsl:choose>
															<xsl:when test="string-length(CreateDate) > 0">
																<xsl:value-of select="CreateDate" />
															</xsl:when>
															<xsl:otherwise>
																&nbsp;
															</xsl:otherwise>
														</xsl:choose>
													</td>
													<td>
														<xsl:choose>
															<xsl:when test="string-length(DateLastModified) > 0">
																<xsl:value-of select="DateLastModified" />
															</xsl:when>
															<xsl:otherwise>
																&nbsp;
															</xsl:otherwise>
														</xsl:choose>
													</td>
												</tr>
											</xsl:for-each>
										</tbody>
									</table>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>